package com.yang.dubbo.service;

import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

@Service
@Component
public class TicketServiceImp implements TicktService{

    //@HystrixCommand
    @Override
    public String getTicket() {
        return "DUBBO副本";
        //throw new RuntimeException("Hystri。。。。。。");
    }
}
